package com.atguigu.bean;



import lombok.Data;



@Data
public class Emp {
    private Integer  id;
    private String empName;
    private Integer age;
    private double empSalary;

   /* @Override
    public String toString() {
        return "Emp{" +
                "age=" + age +
                ", id=" + id +
                ", empName='" + empName + '\'' +
                ", empSalary=" + empSalary +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public double getEmpSalary() {
        return empSalary;
    }

    public void setEmpSalary(double empSalary) {
        this.empSalary = empSalary;
    }

    public Emp(Integer id, String empName, Integer age, double empSalary) {
        this.id = id;
        this.empName = empName;
        this.age = age;
        this.empSalary = empSalary;
    }*/
}
